From 770725fbdcc8ea7bf47ef0af5a43a239bef98ff6 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 16 Aug 2022 15:31:41 -0700 Subject: sveltekit route migration --- src/routes/invoice/[id].svelte | 349 ----------------------------------------- 1 file changed, 349 deletions(-) delete mode 100644 src/routes/invoice/[id].svelte (limited to 'src/routes/invoice/[id].svelte') diff --git a/src/routes/invoice/[id].svelte b/src/routes/invoice/[id].svelte deleted file mode 100644 index 9ef25251..00000000 --- a/src/routes/invoice/[id].svelte +++ /dev/null @@ -1,349 +0,0 @@ - - -{#if $invoices[id]?.status !== 'paid'} -
- - -
-
- -
-

Add a tip?

- -
- {tipAmountFormatted}{`(${tipAmountSats} SATS)`} - {tipPercent}% -
- - { - customTipAmount = ''; - customInput.value = ''; - tipPercent = e.target.value; - }} - /> - -
- {#each tipAmounts as amount} - - {/each} - -
- $ - handleCustomTipAmount(e)} - class="bg-primary rounded-2xl py-3 px-10 font-semibold mt-2 mr-1 w-full md:w-auto" - placeholder="Other" - /> - -
-
-
- - -
-{:else} -
- -

Payment Successful!

-

- {totalAmountFormatted} - {$preferredCurrency} -

-

({totalAmountSats} SATS)

- -
-{/if} - - -- cgit v1.2.3